package com.orange.lswidget.widgets.musicplayer.service;

public interface IMusicPlayerService {
	public boolean isPlaying();

	public void stop();

	public void pause();

	public void play();

	public void prev();

	public void next();

	public long duration();

	public long position();

	public long seek(long pos);

	/**
	 * @return The name(i.g title) of song
	 */
	public java.lang.String getTrackName();

	/**
	 * @return The album the audio file is from, if any
	 */
	public java.lang.String getAlbumName();

	/**
	 * @return The id of the album the audio file is from, if any
	 */
	public long getAlbumId();

	/**
	 * @return The artist who created the audio file, if any
	 */
	public java.lang.String getArtistName();

	public java.lang.String getPath();

	/**
	 * @return the rowid of the currently playing file, or -1 if no file is
	 *         currently playing.
	 */
	public long getAudioId();

	public int getMediaMountedCount();
}
